package com.packet.cheng.vo;

import com.packet.cheng.entity.RedPacketRecord;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author 张在成
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "红包记录封装")
public class RedPacketVo {
    /**
     * 红包id
     */
    @ApiModelProperty(value = "红包id")
    private  Integer  redPacketId;
    /**
     * 红包类型
     */
    @ApiModelProperty(value = "红包类型")
    private  Integer type;
    /**
     * 发红包用户id
     */
    @ApiModelProperty(value = "发红包用户id")
    private  Integer sendUserId;

    /**
     * 发红包用户名字
     */
    @ApiModelProperty(value = "发红包用户名字")
    private  String  sendUserName;

    /**
     *  领红包用户id
     */
    @ApiModelProperty(value = "领红包用户id")
    private  Integer  receiveUserId;

    /**
     * 领红包的用户金额
     */
    @ApiModelProperty(value = "领红包的用户金额")
    private  BigDecimal  receiveAmount;
    /**
     * 祝福语
     */
    @ApiModelProperty(value = "祝福语")
    private  String blessing;
    /**
     * 红包封面
     */
    @ApiModelProperty(value = "红包封面")
    private  String cover;
    /**
     * 红包总金额
     */
    @ApiModelProperty(value = "红包总金额")
    private BigDecimal totalAmount;
    /**
     * 红包剩余金额
     */
    @ApiModelProperty(value = "红包剩余金额")
    private  BigDecimal leftAmount;
    /**
     * 红包个数
     */
    @ApiModelProperty(value = "红包个数")
    private  Integer totalPacket;
    /**
     *  已领取红包个数
     */
    @ApiModelProperty(value = "已领取红包个数")
    private  Integer  drawRePacket;

    /**
     * 红包状态
     */
    @ApiModelProperty(value = "红包状态")
    private  Integer  status;

    /**
     * 红包领取记录
     */
    @ApiModelProperty(value = "红包领取记录")
    List<RedPacketRecord>  redPacketRecords;

}
